from Cache import QCache
from Cache import PCache

if __name__ == '__main__':
   p = PCache('PCache')
   p.setitem('one', '1')
   p.setitem('two', '2')
   p.setitem('two', '22')
   p.delitem('two')
   p.setitem('one', '11')
   p.setitem('two', 'dos')
   p.setitem('three', '333')
   q = QCache('QCache')
   q.setitem('one', '1')
   q.setitem('two', '22')
   q.setitem('three', '333')
   q.delitem('two')
   q.setitem('four', '4444')
   print '%s %s' % ('four', q.getitem('four'))
